package cn.merlulin.monitor.infrastruction.dao;

import cn.merlulin.monitor.infrastruction.po.MonitorDataMapNode;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 756151581
* @description 针对表【monitor_data_map_node(监控数据地图节点配置)】的数据库操作Mapper
* @createDate 2025-01-16 16:08:25
* @Entity infrastruction.infrastruction.MonitorDataMapNode
*/
@Mapper
public interface IMonitorDataMapNodeDao {

    /**
     * 查询监控数据地图节点配置
     * @param monitorDataMapNodeReq
     * @return
     */
    List<MonitorDataMapNode> queryMonitorDataMapNode(MonitorDataMapNode monitorDataMapNodeReq);

    /**
     * 根据监控ID查询监控节点配置
     * @param monitorId
     * @return
     */
    List<MonitorDataMapNode> queryMonitorNodeConfigByMonitorId(String monitorId);

    /**
     * 更新监控数据地图节点配置
     * @param monitorDataMapNodeReq
     */
    void updateNodeConfig(MonitorDataMapNode monitorDataMapNodeReq);
}
